export interface buttonProps {
  label: string;
  icon?: string;
  tooltip?: string; // 鼠标放上提示
  type?: "primary" | "success" | "warning" | "danger" | "info" | "text";
  permissionCode?: string;
  loading?: boolean;
  hide?: boolean | ((params: any) => boolean);
  hideIConArrow?: boolean;
  attrs?: buttonAttrs;
  trigger?: "click" | "hover";
  children?: buttonProps[];
  methods?: (params: any, index: number) => void;
}

export interface buttonAttrs {
  disabled?: boolean;
  plain?: boolean;
  link?: boolean;
}
